﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;


namespace ProductInfo.Core.Models
{
	public class ReleaseNoteEntryVersion
	{
		public SelectList VersionValues { get; set; }

		public string OriginalVersion { get; set; }

		[Required(ErrorMessage = "* Required")]
		[ProductInfo.Core.Models.VersionAttribute(ErrorMessage = "* Invalid format (1.0.123.2)")] 
		public string UpdateVersion { get; set; }
	}
}